package com.zero.mapper;

import com.zero.entity.Condition;
import com.zero.entity.Invest;
import com.zero.entity.Pay;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface InvestMapper {

    int add(Invest invest);

    int delete(int id);

    int update(Invest invest);

    List<Invest> select(Invest invest);

    List<Invest> selectByCondition(Condition condition);

    Invest selectById(int id);

    List<Invest> selectByDate(Map map);
}
